package com.jvm.simulation.hotspot;


public class Constants {


    public static int u8 = 8;
    public static int u4 = 4;
    public static int u2 = 2;
    public static int u1 = 1;


    /* Access and modifier flags */
    public static final int ACC_PUBLIC                   = 0x00000001;
    public static final int ACC_PRIVATE                  = 0x00000002;
    public static final int ACC_PROTECTED                = 0x00000004;
    public static final int ACC_STATIC                   = 0x00000008;
    public static final int ACC_FINAL                    = 0x00000010;
    public static final int ACC_SYNCHRONIZED             = 0x00000020;
    public static final int ACC_VOLATILE                 = 0x00000040;
    public static final int ACC_TRANSIENT                = 0x00000080;
    public static final int ACC_NATIVE                   = 0x00000100;
    public static final int ACC_INTERFACE                = 0x00000200;
    public static final int ACC_ABSTRACT                 = 0x00000400;
    public static final int ACC_SUPER                    = 0x00000020;
    public static final int ACC_STRICT                   = 0x00000800;

    /* Constant table */
    public static final int CONSTANT_UTF8                = 1;
    public static final int CONSTANT_INTEGER             = 3;
    public static final int CONSTANT_FLOAT               = 4;
    public static final int CONSTANT_LONG                = 5;
    public static final int CONSTANT_DOUBLE              = 6;
    public static final int CONSTANT_CLASS               = 7;
    public static final int CONSTANT_STRING              = 8;
    public static final int CONSTANT_FIELDREF            = 9;
    public static final int CONSTANT_METHODREF           = 10;
    public static final int CONSTANT_INTERFACEMETHODREF  = 11;
    public static final int CONSTANT_NAMEANDTYPE         = 12;/* JSR 292 */
    public static final int CONSTANT_METHODHANDLE        = 15;/* JSR 292 */
    public static final int CONSTANT_METHODTYPE          = 16;/* JSR 292 */
    public static final int CONSTANT_INVOKEDYNAMIC       = 18;/* Last tag found in classfiles */

}
